import wsgiref.handlers

from google.appengine.ext import webapp

import recaf
import admin

def main():
    application = webapp.WSGIApplication(
        [('/', recaf.MainPage),
         ('/beverage-search', recaf.BeverageSearch),
         ('/admin/', admin.AdminPage)],
        debug=True)
    wsgiref.handlers.CGIHandler().run(application)

if __name__ == '__main__':
    main()
